module("ufe.util.update",package.seeall)
local conf = require("ufe.config")
local handler = conf.update_conf_handler
local ox = require("posix_c")

local handler_lua_path = conf.ufe_path.."util/"..handler..".lua"
local fstat = ox.stat(handler_lua_path)
assert(fstat, "Not suported update handler:"..handler)

local h = require(string.format("ufe.util.%s",handler))

get = h.get
check_config = h.check_config
check = h.check

